﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

namespace KPIS.GERP.GIMS.APP.APP_UI.Form
{
    public partial class Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                HttpCookie cookie = Request.Cookies["UserDetail"];

                if (cookie != null)
                {
                    Session["EmpSeq"] = cookie["EmpSeq"];
                    Session["emp_seq"] = cookie["EmpSeq"];
                    Session["UserSeq"] = cookie["UserSeq"];
                    Session["Height"] = cookie["Height"];
                    Session["UserName"] = cookie["UserName"];
                    //Session["UserCode"] = drc[0]["user_code"].ToString();
                    //Session["UserPass"] = drc[0]["user_password"].ToString();
                }
            }
        }
    }
}
